Understanding the overhead of the spin-lock loop in CMT architectures

نویسندگان

  • Vladimir Cakarevic
  • Petar Radojkovic
  • Javier Verdú
  • Alejandro Pajuelo
  • Roberto Gioiosa
  • Francisco J. Cazorla
  • Mario Nemirovsky
  • Mateo Valero
چکیده

Spin locks are a synchronization mechanisms used to provide mutual exclusion to shared software resources. Spin locks are used over other synchronization mechanisms in several situations, like when the average waiting time to obtain the lock is short, in which case the probability of getting the lock is high, or when it is no possible to use other synchronization mechanisms. In this paper, we study the effect that the execution of the Linux spin-lock loop in the Sun UltraSPARC T1 and T2 processors introduces on other running tasks, especially in the worst case scenario where the workload shows high contention on a lock. For this purpose, we create a task that continuously executes the spin-lock loop and execute several instances of this task together with another active tasks. Our results show that, when the spin-lock tasks run with other applications in the same core of a T1 or a T2 processor, they introduce a significant overhead on other applications: 31% in T1 and 42% in T2, on average, respectively. For the T1 and T2 processors, we identify the fetch bandwidth as the main source of interaction between active threads and the spin-lock threads. We, propose 4 different variants of the Linux spin-lock loop that require less fetch bandwidth. Our proposal reduces the overhead of the spin-lock tasks over the other applications down to 3.5% and 1.5% on average, in T1 and T2 respectively. This is a reduction of 28 percentage points with respect to the Linux spin-lock loop for T1. For T2 the reduction is about 40 percentage points.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Hydraulic anti-lock, anti-skid braking system using fuzzy controller

To maintain the stability trajectory of vehicles under critical driving conditions, anti lock-anti skid controllers, consisting of four anti-lock sub-controllers for each wheel and two anti-skid sub-controllers for left and right pair wheels have been separately designed. Wheel and body systems have been simulated with seven degrees of freedom to evaluate the proper functioning of controllers. ...

متن کامل

Dual Phase Detector Based Delay Locked Loop for High Speed Applications

In this paper a new architecture for delay locked loops will be presented.  One of problems in phase-frequency detectors (PFD) is static phase offset or reset path delay. The proposed structure decreases the jitter resulted from PFD by switching two PFDs. In this new architecture, a conventional PFD is used before locking of DLL to decrease the amount of phase difference between input and outpu...

متن کامل

طراحی PLL دو حلقه ای مبتنی بر آشکارسازی فاز پنجره‌ای با سرعت قفل بالا، توان مصرفی و اسپور مرجع پایین

In this paper, a dual loop PLL with short locking time, low power consumption and low reference spur is presented. The output frequency and reference frequency of the designed circuit are 3.2 GHz and 50 MHz, respectively, aimed to WiMAX applications. In the proposed circuit in locked state, some parts of the circuit could be powered off, to reduce overall power consumption. Phase detection in t...

متن کامل

Superparamagnetic Behavior of the Magnetic Hysteresis Loop in the Fe2O3@Pt Core-Shell Nanoparticles

Studies of the magnetization of Fe2O3@Pt nanoparticles at room temperature showed that there is superparamagnetic contribution with high saturation magnetization about 12.35(emu/g), and soft ferromagnetic contribution with narrow coercive field about 58(Oe). In this paper we fitted the hystersis loop of sample with Brillouin function that demonstrating existence of superparamagnetic phase. Tota...

متن کامل

Adaptive Control of a Spin-Stabilized Spacecraft Using two Reaction Wheels and a 1DoF Gimbaled-Thruster

In impulsive orbital maneuvers, a large disturbance torque is generated by the thrust vector misalignment from the center of mass (C.M). The purpose of this paper is to reject the mentioned disturbance and stabilize the spacecraft attitude, based on the combination of a one degree of freedom (1DoF) gimbaled-thruster, two reaction wheels (RWs) and spin-stabilization. In this paper, the disturban...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008